package saucaca.Util;

import android.app.Activity;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;

public class TagName {
	public static final String object = "object";
	public static final String stringkey = "stringkey";
	
	public static final String KeyPreference_fullname = "fullname";
	public static final String KeyPreference_usercode = "usercode";
	public static final String KeyPreference_sex = "sex";
	public static final String KeyPreference_birthday = "birthday";
	public static final String KeyPreference_avatar = "avatar";
	public static final String KeyPreference_avatar_url = "avatar_url";
	public static final String KeyPreference_user = "user";
	public static final String KeyPreference_pass = "pass";
	public static final String KeyPreference_phone = "phone";
	public static final String KeyPreference_typelogin = "type";
	public static final String KeyPreference_facebook = "facebook";
	public static final String KeyPreference_Account = "account";
	public static final String KeyPreference_google= "google";
	public static final String KeyPreference_Download3G= "download";
	public static final String KeyPreference_VideoHD= "videohd";
	
	public static final String cateCode="cateCode";
	public static final String singerCode="singerCode";
	public static final String authorCode="authorCode";
	public static final String areaCode="areaCode";
	public static final String page="page";
	public static final String pageSize="pageSize";
	public static final String typeHot="typeHot";
	
	public static void showLogError(String tag, String content) {
		Log.e(tag, content);
	}

	public static void showToastShort(final Context context, final String content) {
		((Activity) context).runOnUiThread(new Runnable() {
			public void run() {
				Toast.makeText(context, content, Toast.LENGTH_SHORT).show();
			}
		});
	}

	public static void showToastLong(final Context context, final String content) {
		((Activity) context).runOnUiThread(new Runnable() {
			public void run() {
				Toast.makeText(context, content, Toast.LENGTH_LONG).show();
			}
		});
	}

	
	public static final String Comment_typeSong = "1";
	public static final String Comment_typeAlbum = "3";
	public static final String Comment_typeVideo = "2";
	
	
	public static final String keyBundle = "$";
	public static final String TYPE_HOT = "1";
	public static final String TYPE_NEW = "0";
	public static final String TYPE_VIEW = "2";

	public static final String TAG_STATUS = "status";
	public static final String TAG_DATA = "data";
	public static final String TAG_PRODUCTS = "products";
	public static final String KEY_NAME = "name";
	public static final String KEY_IMAGE_URL = "image_url";
	public static final String KEY_ID = "id";
	public static final String MENU = "id";

	public static final String BODY = "Body";
	public static final String DATA = "Data";
	public static final String FOOTER = "Footer";
	public static final String USER = "USER";
	public static final String RESULT = "RESULT";
	public static final String TOKEN = "Token";
	public static final String KEY = "Key";
	public static final String TOTAL = "total";
	public static final String ERRORCODE = "errorcode";

	public static final String KEY_MENU = "MENU";
	public static final String KEY_VIDEO_TOP = "VIDEO_TOP";
	public static final String KEY_VIDEO = "VIDEO";
	public static final String KEY_SONG = "SONG";
	public static final String KEY_SINGER = "SINGER";
	public static final String KEY_ALBUM = "ALBUM";
	public static final String KEY_NEWS = "NEWS";
	public static final String KEY_NEW = "NEW";
	public static final String KEY_TOPIC = "TOPIC";
	public static final String KEY_LISTNEW = "LISTNEW";
	public static final String KEY_BXH = "BXH";
	public static final String KEY_TVSHOW = "TVSHOW";
	public static final String KEY_TONE = "TONE";
	public static final String KEY_PLAYLIST = "PLAYLIST";
	public static final String KEY_COMMENT = "COMMENT";
	public static final String KEY_CODE = "CODE";

	// Header
	public static final String CODE = "Code";
	public static final String MESSAGE = "Mesage";
	public static final String CMD = "Cmd";
	public static final String AGENT = "Agent";
	public static final String TIMEXCUTE = "TimeExcute";
	public static final String OTHER = "Other";
	// Menu
	public static final String TXNAME = "TXNAME";
	public static final String MENU_CODE = "MENU_CODE";
	public static final String SUBMENU_TYPE = "SUBMENU_TYPE";
	public static final String PARENT_CODE = "PARENT_CODE";
	public static final String KEY_CATE = "KEY_CATE";
	public static final String AVATAR = "AVATAR";
	public static final String RN = "RN";
	public static final String SONG_ID = "SONG_ID";
	// User
	public static final String FULL_NAME = "FULL_NAME";
	public static final String USER_CODE = "USER_CODE";
	public static final String USER_NAME = "USER_NAME";
	public static final String SEX = "SEX";
	public static final String BIRTH_DAY = "BIRTH_DAY";
	public static final String MOBILE = "MOBILE";
	// Album
	public static final String ALBUM_HOT = "ALBUM_HOT";
	public static final String ALBUM_VIEW = "ALBUM_VIEW";
	public static final String ALBUM_NEW = "ALBUM_NEW";
	public static final String SINGER_NAME="SINGER_NAME";
	public static final String ALBUM_CODE = "ALBUM_CODE";
	public static final String ALBUM_ID = "ALBUM_ID";
	public static final String SEO_NAME = "SEO_NAME";
	public static final String SHORTDESC = "SHORTDESC";
	public static final String CREATE_DATE = "CREATE_DATE";
	public static final String TOTAL_SONG = "TOTAL_SONG";
	// Song
	public static final String SONG_CODE = "SONG_CODE";
	public static final String AVATAR_SINGER = "AVATAR_SINGER";
	public static final String NAME_SINGERS = "NAME_SINGERS";
	public static final String ID_SINGERS = "ID_SINGERS";
	public static final String ISVIEW = "ISVIEW";
	public static final String ISDOWN = "ISDOWN";
	public static final String TXURL = "TXURL";
	public static final String LYRCIS = "LYRCIS";
	public static final String PATCH_FULL = "PATCH_FULL";
	public static final String TYPE_VIDEO = "TYPE_VIDEO";
	public static final String ISTONE = "ISTONE";
	
	// Singer
	public static final String SINGER_ID = "SINGER_ID";
	public static final String SINGER_CODE = "SINGER_CODE";
	public static final String BIRTHDAY = "BIRTHDAY";
	// New
	public static final String AUTO_ID = "AUTO_ID";
	public static final String CATE_CODE = "CATE_CODE";
	public static final String CATE_NAME = "CATE_NAME";
	public static final String SHORT_DESC = "SHORT_DESC";
	public static final String LAST_DATE = "LAST_DATE";
	public static final String CONTENTS = "CONTENTS";
	// Topic
	public static final String MOD_CODE = "MOD_CODE";
	public static final String IS_BTYPE = "IS_BTYPE";
	
	// RingTone
	public static final String TELCO_ID = "TELCO_ID";
	public static final String TELCO = "TELCO";
	public static final String PATCH_DEMO = "PATCH_DEMO";

	public static final String MOBIFONE = "VMS_TONE";
	public static final String VINAPHONE = "GPC_TONE";
	public static final String VIETTEL = "VTL_TONE";
	public static final String VIETNAMMOBILE = "VMN_TONE";
	
	public static String GPC_SYNTAX="GPC_SYNTAX";
	public static String VMS_SYNTAX="VMS_SYNTAX";
	public static String VTL_SYNTAX="VTL_SYNTAX";
	public static String VNM_SYNTAX="VNM_SYNTAX";
	// BXH
	public static final String BXH_SONG_VN = "BXH_SONG_VN";
	public static final String BXH_SONG_AM = "BXH_SONG_AM";
	public static final String BXH_SONG_HQ = "BXH_SONG_HQ";
	public static final String BXH_VIDEO_VN = "BXH_VIDEO_VN";
	public static final String BXH_VIDEO_AM = "BXH_VIDEO_AM";
	public static final String BXH_VIDEO_HQ = "BXH_VIDEO_HQ";
	public static final String BXH_ALBUM_VN = "BXH_ALBUM_VN";
	public static final String BXH_ALBUM_AM = "BXH_ALBUM_AM";
	public static final String BXH_ALBUM_HQ = "BXH_ALBUM_HQ";

	// Tvshow
	public static final String TVSHOW = "TVSHOW";
	public static final String CATE_ID = "CATE_ID";

	// Tvshow
	public static final String OBJECT_ID = "OBJECT_ID";
	public static final String TITLE = "TITLE";
	public static final String TXDES = "TXDES";
	public static final String CREATEBY = "CREATEBY";

}
